package com.project.service.impl;

import com.project.bean.UserBean;
import com.project.mapper.IUserMapper;
import com.project.service.IUserSerivce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author(王思翰)
 * @Description(类的描述)用户业务层接口
 * @Date(创建时间) 2021/8/1 12:13
 */
@Service
@Transactional
public class UserServiceImpl implements IUserSerivce {
    @Autowired
    private IUserMapper mapper;

    @Override
    public UserBean login(String name, String pwd) {
        return mapper.login(name,pwd);
    }
}
